selectionMode
Type
property
Summary
Determines which objects are selected when you drag a rectangle with the Pointer tool.
Syntax
set the selectionMode to {intersect | surround}
Description
Use the selectionMode property to change the behavior of drag selections.
When you choose the Pointer tool, click in the window, and drag diagonally to select a rectangle, objects within the rectangle are selected. The selectionMode property determines which objects are included inside the dragged rectangle.
If the selectionMode is set to "intersect", all objects that are partially or completely inside the rectangle are selected. If the selectionMode is set to "surround", only objects that are completely inside the rectangle are selected.
You can also set the selectionMode by choosing Edit → Intersected Selections from the menubar.
Examples
set the selectionMode to "intersect"
Related
property: selectGroupedControls, selected
function: tool
keyword: intersect
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile